<?php

/**
 * Created by PhpStorm.
 * User: yangchunrun
 * Date: 16/3/22
 * Time: 上午9:44
 */
namespace app\admin\components;
use yii\web\Controller;
class BaseController extends Controller
{

    public $layout="@app/admin/views/layouts/main.php";


    public $menus;

    public function init()
    {
        $this->menus = include_once(__DIR__.'/../menus.php');
    }

}